package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_battery_inout")
@ApiModel(value = "XhBatteryInout对象", description = "")
public class XhBatteryInout implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("出入库类型-1.入库，2.出库")
    private Integer type;

    @ApiModelProperty("关系类型:1.仓库2.门店3.机柜4.B端公司5.配送员6.C端客户 7.合作商")
    private Integer relationType;

    @ApiModelProperty("关系ID")
    private Integer relationId;

    @ApiModelProperty("关系名称")
    private String relationName;

    @ApiModelProperty("电池数量")
    private Integer batteryNumber;

    @ApiModelProperty("业务类型11.仓库调拨 12.仓库B端业务 13.仓库合作商业务 14.仓库C端业务 21.门店调拨 22.门店C端业务 23.门店机柜业务 71.合作商门店调拨")
    private Integer businessType;

    @ApiModelProperty("业务ID")
    private Integer businessId;

    @ApiModelProperty("业务名称")
    private String businessName;

    @ApiModelProperty("业务关联人ID")
    private Integer businessUserId;

    @ApiModelProperty("业务关联人名称")
    private String businessUserName;

    @ApiModelProperty("创建用户类型")
    private String createType;

    @ApiModelProperty("创建人ID")
    private Integer createUser;

    @ApiModelProperty("创建人名称")
    private String createName;

    @ApiModelProperty("创建实际")
    private Date createTime;

}
